

<div style="margin-top: 60px" class="container-fluid">
    <div class="container">
        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            </ol>

            <!-- Wrapper for slides -->
            <div class="carousel-inner" role="listbox">
                {foreach $setting['slide'] as $k => $v}
                <div class="item {if $k == 0}active{/if}">
                    <img class="self-pic-slider" src="{$v}" alt="...">
                    <div class="carousel-caption">
                        <!-- 可添加文字说明 -->
                    </div>
                </div>
                {/foreach}


            </div>

            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>

    </div>
    <div class="container" style="margin-top: 10px">
        {if $floors}
        {for start="0" end="$floor_count"}
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title" style="font-weight: bold;font-size: 25px">1 F {$floor_names[$i]}</h3>
            </div>
            <div class="panel-body">
                <div class="row">
                    {foreach $floors[$i] as $k => $v}
                    <div class="col-sm-6 col-md-2">
                        <div class="thumbnail">
                            <img src="{$v.cover_pic}" alt="...">
                            <div class="caption">
                                <h5>{$v.title}</h5>
                            </div>
                        </div>
                    </div>
                    {/foreach}

                </div>
            </div>
        </div>
        {/for}
        {/if}

    </div>
</div>


